package com.rw.bootdemo.config;

import com.rw.bootdemo.pojo.User;
import org.springframework.stereotype.Component;

//@Component
public class TestComponent {

    public User getUser(){
        User u = new User();
        u.setPwd("123456");
        u.setUid(12);
        u.setUname("TestComponent");
        return u;
    }
}
